<!DOCTYPE html>
<html>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<%@include file="/resources/components/baseIncl/base/css.inc"%>
<%@include file="/resources/components/baseIncl/base/js.inc"%>
</head>
<body>
<div id="wrapper">
	<div id="Heading3">Client Register</div>
	<div id="content">
		<div id="options">
			<form action="/RegisterAction?proceed" method="POST">
			<div id="registerDetails">
				 <input type="text" id="name" placeholder="Name" name="name">
				 <br><br>
				 <input type="text" id="surname" placeholder="Surname" name="surname"> 
				 <br><br>
				 <input type="email" id="email" placeholder="Email" name="email"> 
				 <br><br>
				 <input type="number" id="contact" placeholder="Contact" name="contact"> 
				 <br><br>
				 <input type="text" id="username" placeholder="Username" name="username"> 
				 <br><br>
				 <input type="password" id="password" placeholder="Password" name="password"> 
				 <br><br>
				 <input type="password" id="cpassword" placeholder="Confirm Password" name="cpassword"> 
				 <br><br>
				 <input type="submit" name="register" value="Register">
				 <br><br>
				 <input type="button" name="return" id="return" value="Return" onclick="window.location.href='/index.jsp';"> 
			</div>
		</form>
		<div>
		<c:if test="${message != null}">
			<div id="dialogError" >
			  <p><i class="fa fa-warning">&nbsp;<c:out value="${message}"></c:out></i></p>
			</div>
			</c:if>
		</div>
		</div>
	</div>
</div>
</body>
</html>